object TestShapeless extends App{


  case class Employee(name: String, number: Int, manager: Boolean)

  case class IceCream(name: String, numCherries: Int, inCone: Boolean)


  import shapeless._

  val genericEmployee = Generic[Employee].to(Employee("Dave", 123, false))

  val genericIceCream = Generic[IceCream].to(IceCream("Sundae", 1, false))

 val t= genericEmployee.at(1)

 println( genericIceCream)

  println(t)

}
